package com.ruoyi.order.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生成单时出现的选项信息对象 wx_form_item
 * 
 * @author ruoyi
 * @date 2024-09-04
 */
public class WxFormItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String itemLabel;

    /** 选项类型（1:text，2:number，3:select，4:radio，5:checkbox） */
    @Excel(name = "选项类型", readConverterExp = "1=:text，2:number，3:select，4:radio，5:checkbox")
    private Long itemType;

    /** 处理标记方式,定义字典handle_flag，”commission“为需要进行提成计算标识，“reimbursement”为报销费用。”ordnay“为只会记录，不做处理 */
    @Excel(name = "处理标记方式,定义字典handle_flag，”commission“为需要进行提成计算标识，“reimbursement”为报销费用。”ordnay“为只会记录，不做处理")
    private String handleFlag;

    /** 关联表单id */
    @Excel(name = "关联表单id")
    private Long formId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemLabel(String itemLabel) 
    {
        this.itemLabel = itemLabel;
    }

    public String getItemLabel() 
    {
        return itemLabel;
    }
    public void setItemType(Long itemType) 
    {
        this.itemType = itemType;
    }

    public Long getItemType() 
    {
        return itemType;
    }
    public void setHandleFlag(String handleFlag) 
    {
        this.handleFlag = handleFlag;
    }

    public String getHandleFlag() 
    {
        return handleFlag;
    }
    public void setFormId(Long formId) 
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemLabel", getItemLabel())
            .append("itemType", getItemType())
            .append("handleFlag", getHandleFlag())
            .append("formId", getFormId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
